package com.kelvem.saas.workbanch.fsm.anno;

import com.kelvem.saas.workbanch.fsm.entity.Entity;
import org.springframework.stereotype.Service;

import java.lang.annotation.*;

/**
 * fsm标识注解
 *
 * @author kelvem
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Service
public @interface Fsm {
    
    Class<? extends Entity> entityClazz();
    Class<? extends Entity> parentEntityClazz() default Entity.class;
    
    String projectName() default "";
}
